package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 项目附件对象 wb_item_file
 *
 * @author Lion Li
 * @date 2024-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wb_item_file")
public class WbItemFile extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 项目附件ID
     */
    @TableId(value = "oss_id")
    private Long ossId;

    /**
     * 项目ID
     */
    private Long itemId;

    private Long companyId;

    private Long productId;

    /**
     * 附件名称
     */
    private String fileName;

    private String fileOriginalName;

    /**
     * 附件类型
     */
    private Long fileType;

    /**
     * 地址
     */
    private String url;

    /**
     * 附件大小
     */
    private Long fileSize;


}
